﻿using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;

namespace SampleLauncher
{
    public partial class SampleLauncher : Form
    {
        public SampleLauncher()
        {
            InitializeComponent();
        }

        private void button_Click(object sender, EventArgs e)
        {
            string path = (string)((Control) sender).Tag;
            FileInfo file = new FileInfo(path);
            if (file.Exists)
                Process.Start(file.FullName);
        }

        private void button4_Click(object sender, EventArgs e)
        {
		    btnConfiglessEndpoint.PerformClick();
            button3.PerformClick();
            button2.PerformClick();
            button1.PerformClick();
            
        }
    }
}